package com.unidt.www.module.bpm.controller.admin.task.vo.task;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@ApiModel("管理后台 - 通过流程任务的 SignTaskRequest VO")
@Data
public class BpmTaskSignVO {

    @ApiModelProperty(value = "加签人userId", required = true, example = "1024")
    @NotNull(message = "加签人userId不能为空")
    private Long userId;

    @ApiModelProperty(value = "task任务id", required = true, example = "1024")
    @NotEmpty(message = "任务编号不能为空")
    private String taskId;

}
